// ==boolean==

let isDone: boolean = false;

// let createdByNew: boolean = new Boolean(1)
let createdBy: boolean = Boolean(1);

// ==number==

let decimal: number = 6;
let hex: number = 0xf00d;
let binary: number = 0b1010;
let octal: number = 0o744;
let notNumber: number = NaN;
let infinity: number = Infinity;

// ==string==

let myName: string = "Tom";
let myAge: number = 25;
let sentence: string = `Hello, my name is ${myName}. I'll be ${
  myAge + 1
} years old next month.`;

// ==void==

function alertName(): void {
  alert("My name is Tom.");
}
// When `strictNullChecks` is undefined
let unusable: void = undefined;

// ==Null & Undefined==
let u: undefined = undefined;
let n: null = null;
